<template>
	<view class="classLayout jbbj">
		<const-nav-bar title="分类"></const-nav-bar>
		<view class="classify">
			<theme-title v-for="item in classifyList" :key="item_id":item="item"></theme-title>
		</view>
	</view>
</template>

<script setup>
import { ref } from 'vue';
import {apiGetClassify} from "@/api/apis.js"
const classifyList= ref([]);


const getClassify =async()=>{
	let res =await apiGetClassify({
		pageSize:20
	});
	classifyList.value = res.data
	console.log(res);
}

getClassify();
</script>

<style lang="scss" scoped>
.classify{
	padding: 0 30rpx;
	display: grid;
	gap:15rpx ;
	grid-template-columns: repeat(3,1fr);
	gap: 15rpx;
}
</style>
